package com.tyros.resource.listener.event;

import com.tyros.common.utils.LogUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.boot.context.event.ApplicationStartedEvent;
import org.springframework.context.ApplicationListener;

/**
 * @author zhangshuaiyin
 * @date 2022/2/23 21:38
 */
@Slf4j
public class ApplicationStartedEventListener implements ApplicationListener<ApplicationStartedEvent> {
    @Override
    public void onApplicationEvent(ApplicationStartedEvent event) {
        LogUtils.info(log, "ApplicationStartedEventListener");
    }
}
